package com.github.cakin.shiro.chapter19.service;

import com.github.cakin.shiro.chapter19.entity.UrlFilter;

import java.util.List;

/**
 * @className: UrlFilterService
 * @description: UrlFilter服务
 * @date: 2020/5/28
 * @author: cakin
 */
public interface UrlFilterService {
    /**
     * 功能描述：创建 urlFilter
     *
     * @param urlFilter urlFilter
     * @return UrlFilter UrlFilter
     * @author cakin
     * @date 2020/5/28
     */
    UrlFilter createUrlFilter( UrlFilter urlFilter );

    /**
     * 功能描述：更新 urlFilter
     *
     * @param urlFilter urlFilter
     * @return UrlFilter UrlFilter
     * @author cakin
     * @date 2020/5/28
     */
    UrlFilter updateUrlFilter( UrlFilter urlFilter );

    /**
     * 功能描述：删除 urlFilter
     *
     * @param urlFilterId urlFilterId
     * @author cakin
     * @date 2020/5/28
     */
    void deleteUrlFilter( Long urlFilterId );

    /**
     * 功能描述：查找 urlFilter
     *
     * @param urlFilterId urlFilterId
     * @return UrlFilter UrlFilter
     * @author cakin
     * @date 2020/5/28
     */
    UrlFilter findOne( Long urlFilterId );

    /**
     * 功能描述：查找所有 urlFilter
     *
     * @return List<UrlFilter> UrlFilter列表
     * @author cakin
     * @date 2020/5/28
     */
    List<UrlFilter> findAll();
}
